package com.docker.apps.order.vo;

import android.view.View;

import com.alibaba.android.arouter.launcher.ARouter;
import com.docker.apps.R;
import com.docker.common.common.model.BaseItemModel;
import com.docker.common.common.model.BaseSampleItem;
import com.docker.common.common.model.OnItemClickListener;
import com.docker.common.common.router.AppRouter;

public class InvoiceVov2 extends BaseSampleItem {
    @Override
    public int getItemLayout() {
        return R.layout.pro_after_service_item_invoice;
    }

    @Override
    public OnItemClickListener getOnItemClickListener() {
        return (item, view) -> ARouter.getInstance().build(AppRouter.ORDER_INVOICE).withSerializable("invoiceid", ((InvoiceVov2) item).id).navigation();
    }


    /*
    * "id": "1",
            "inputtime": "0",
            "type": "1",
            "role": "1",
            "name": "张大伟",
            "companyName": "北方互动",
            "companyTel": "0102650123",
            "companyAddress": "上地",
            "taxNumber": "",
            "receiveName": "",
            "receiveTel": "",
            "receiveAddress": "",
            "memberid": "66",
            "orderid": "0",
            "orderNo": "",
            "status": "0"
    * */


    public String id;
    public String inputtime;
    public String type;
    public String role;
    public String name;
    public String companyName;
    public String companyTel;
    public String companyAddress;
    public String taxNumber;
    public String receiveName;
    public String receiveTel;
    public String receiveAddress;
    public String memberid;
    public String orderid;
    public String orderNo;
    public String status;
    public String invoiceNo;
    public String showTitle;
    public String img;
    public String rise;
    public String logisticsNo;


}
